package com.tvunetworks.center.user.model.dto;

import org.hibernate.validator.constraints.Range;
import lombok.Data;

/**
 * @program:
 * @description:
 * @author HenryChen
 * @create: 11/25/2019 11:45 AM
 **/
@Data
public class BasePageDto {

/**当前页*/
private Integer currentPageNum = 1;
/**每页显示的数量*/
@Range(message = "the number displayed everyPageNum is between {min} and {max}",min = 1,max = 1000)
private Integer everyPageNum = 10;
/**排序字段*/
private String order;
/**升序asc、降序 desc*/
private String sort = "desc";

}
